package com.scalar.forecast;

import java.io.Serializable;
import java.util.ArrayList;

/**
 * Value Object for User Defined Field
 *
 * Created by Veeru. 
 * Date: Feb 8, 2005
 * Time: 6:46:24 PM 
 */

public class UserDefinedField implements Serializable{

    private String fieldName = null;
    private String name      = null;
    private String value     = null;
    private String type      = null;
    private ArrayList listValues = new ArrayList();

    public UserDefinedField(String name, String value) {
        this.name = name;
        this.value = value;
    }

    public UserDefinedField(String fieldName, String name, String value, String type) {
        this.fieldName = fieldName;
        this.name = name;
        this.value = value;
        this.type = type;
    }

    public UserDefinedField(String fieldName, String name, String value, String type, ArrayList listValues) {
        this.fieldName = fieldName;
        this.name = name;
        this.value = value;
        this.type = type;
        this.listValues = listValues;
    }

    public String getFieldName() {
        return fieldName;
    }

    public void setFieldName(String fieldName) {
        this.fieldName = fieldName;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public ArrayList getListValues() {
        return listValues;
    }

    public void setListValues(ArrayList listValues) {
        this.listValues = listValues;
    }
}
